package org.dreamwork.hyacinth.jasmine;

/**
 * Created by IntelliJ IDEA.
 * User: seth.yang
 * Date: 12-3-20
 * Time: 下午6:27
 */
public class DataSourceImageCreator implements IImageCreator {
    private byte[] data;
    private String contentType;

    public DataSourceImageCreator () {
    }

    public DataSourceImageCreator (byte[] data, String contentType) {
        this.data = data;
        this.contentType = contentType;
    }

    public byte[] getImageData () {
        return data;
    }

    public String getContentType () {
        return contentType;
    }

    public void setData (byte[] data) {
        this.data = data;
    }

    public void setContentType (String contentType) {
        this.contentType = contentType;
    }
}